package com.template;

import com.template.util.SpringContextUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@MapperScan("com.template.dao")
public class MybatisFasterApplication {

	public static void main(String[] args) {
		ApplicationContext context=SpringApplication.run(MybatisFasterApplication.class, args);
		SpringContextUtil.setApplicationContext(context);
	}

}
